package com.s4j.struts.biz.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 辅助检查实体——免疫学指标
 * @author Administrator
 *
 */
@Entity
@Table(name="MG_SUPP_IMMUN")
public class MgSuppImmun {

	private Long immunId;
	
	private BizMgSupplement supp;
	
	private Integer week;  //第几周末
	
	private String igg;
	
	private String c3;
	
	private String cd4;
	
	private String cd8;
	
	private String sil2r;
	
	private String ifn;
	
	private String antissa;
	
	private String antissb;
	
	private String ana;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getImmunId() {
		return immunId;
	}

	public void setImmunId(Long immunId) {
		this.immunId = immunId;
	}

	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name="suppId")
	public BizMgSupplement getSupp() {
		return supp;
	}

	public void setSupp(BizMgSupplement supp) {
		this.supp = supp;
	}

	@Column(precision=5)
	public Integer getWeek() {
		return week;
	}

	public void setWeek(Integer week) {
		this.week = week;
	}

	@Column(length=50)
	public String getIgg() {
		return igg;
	}

	public void setIgg(String igg) {
		this.igg = igg;
	}

	@Column(length=50)
	public String getC3() {
		return c3;
	}

	public void setC3(String c3) {
		this.c3 = c3;
	}

	@Column(length=50)
	public String getCd4() {
		return cd4;
	}

	public void setCd4(String cd4) {
		this.cd4 = cd4;
	}

	@Column(length=50)
	public String getCd8() {
		return cd8;
	}

	public void setCd8(String cd8) {
		this.cd8 = cd8;
	}

	@Column(length=50)
	public String getSil2r() {
		return sil2r;
	}

	public void setSil2r(String sil2r) {
		this.sil2r = sil2r;
	}

	@Column(length=50)
	public String getIfn() {
		return ifn;
	}

	public void setIfn(String ifn) {
		this.ifn = ifn;
	}

	@Column(length=50)
	public String getAntissa() {
		return antissa;
	}

	public void setAntissa(String antissa) {
		this.antissa = antissa;
	}

	@Column(length=50)
	public String getAntissb() {
		return antissb;
	}

	public void setAntissb(String antissb) {
		this.antissb = antissb;
	}

	@Column(length=50)
	public String getAna() {
		return ana;
	}

	public void setAna(String ana) {
		this.ana = ana;
	}
}
